package me.zhengjie.modules.workflow.commad;

import me.zhengjie.utils.SpringContextHolder;
import org.activiti.engine.RepositoryService;
import org.activiti.engine.RuntimeService;
import org.activiti.engine.TaskService;

/**
 * @see <a>https://www.jianshu.com/p/6d4d455b2fbb?tt_from=copy_link</a>
 * @description: AbstractCountersignCmd <br>
 * @date: 2021/5/13 16:59 <br>
 * @author: wangz <br>
 * @version: 1.0 <br>
 */
public abstract class AbstractCountersignCmd {

    protected RuntimeService runtimeService;

    protected TaskService taskService;

    protected RepositoryService repositoryService;

    public AbstractCountersignCmd() {
        runtimeService = SpringContextHolder.getBean(RuntimeService.class);
        taskService = SpringContextHolder.getBean(TaskService.class);
        repositoryService = SpringContextHolder.getBean(RepositoryService.class);
    }
}
